<?php 
include dirname(dirname(__FILE__)).'/include/user-verify.php';
include_once dirname(dirname(__FILE__)).'/include/host-base.php';
// if($_SESSION['user_role']==null) {
// 	header("location:".getHost().'/admin-home.php');
// 	exit();
// }
if($_SESSION['user_role']!='admin'&&$_SESSION['user_role']!='super_admin') {
	echo '<!DOCTYPE html><html><head><script>alert("你的权限不足，不能访问该页面!");
		window.location="'.getHost().'/admin/admin-home.php";</script></head><body></body></html>';
	exit();
}
